/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.isystem.autpart.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 *
 * @author miguel
 */
public class Util {

    public String getIdGenerated(Date date){
        SimpleDateFormat formatoId = new SimpleDateFormat("yyyyMMddhhmmss", new Locale("ES"));
        return formatoId.format(date);
    }
}
